package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;

/**
 * 
 * @description 供应商管理接口
 * @author Wangxuegang
 * @date 2012-9-12
 * 
 */
public interface SuppliersManageService {

	/**
	 * 分页查询产品供应商
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryByPage(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 供应商新增
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String insert(String body, Head head) throws ServerDisponseException;

	/**
	 * 供应商修改
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String update(String body, Head head) throws ServerDisponseException;

	/**
	 * 根据供应商ID（supplyId）查询供应商
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryBySupplyId(String body, Head head)
			throws ServerDisponseException;

}
